package com.xuecheng.api;

import com.xuecheng.framework.domain.cms.CmsPage;
import com.xuecheng.framework.domain.cms.CmsSiteServer;
import com.xuecheng.framework.domain.cms.request.QuerySiteServerRequest;
import com.xuecheng.framework.domain.cms.response.CmsPageResult;
import com.xuecheng.framework.domain.cms.response.SiteServerResult;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.ApiOperation;

public interface CmsSiteServceControllerApi {
    public QueryResponseResult findList(int page, int size, QuerySiteServerRequest siteServerRequest);

    //新增站点服务器
    @ApiOperation("新增站点服务器")
    public SiteServerResult add(CmsSiteServer cmsSiteServer);

    //根据id查询
    @ApiOperation("根据id查询")
    public CmsSiteServer findById(String id);

    //修改站点服务器信息
    @ApiOperation("修改站点服务器信息")
    public SiteServerResult edit(String id,CmsSiteServer cmsSiteServer);

    //删除站点服务器
    @ApiOperation("删除站点服务器")
    public ResponseResult delete(String id);
}
